package com.genexususa.eo.bing.test.set;

import com.genexususa.eo.bing.connection.AdGroupManager;
import com.genexususa.eo.bing.test.TestUtil;

public class ConsumeSubmitAdGroupForApproval {
    public static void main(String[] args) {
        TestUtil testUtil = new TestUtil();
        String adGroupsXML =	"<Bing_AdGroupCollection>\n" +
                                    "\t<AdGroup>\n" +
                                        "\t\t<GxAdGroupId xmlns=\"https://adcenter.microsoft.com/v8\">284894561564</GxAdGroupId>\n" +
                                        "\t\t<BingAdGroupId xmlns=\"https://adcenter.microsoft.com/v8\">" + testUtil.adGroup11 + "</BingAdGroupId>\n" +
                                    "\t</AdGroup>\n" +
                                    "\t<AdGroup>\n" +
                                        "\t\t<GxAdGroupId xmlns=\"https://adcenter.microsoft.com/v8\">284894561565</GxAdGroupId>\n" +
                                        "\t\t<BingAdGroupId xmlns=\"https://adcenter.microsoft.com/v8\">" + testUtil.adGroup12 + "</BingAdGroupId>\n" +
                                    "\t</AdGroup>\n" +
                                "</Bing_AdGroupCollection>\n";
        AdGroupManager resource = new AdGroupManager();
        System.out.println("Consuming SubmitAdGroupForApproval.....");
        String userName = testUtil.userName;
        String password = testUtil.password;
        String developerToken = testUtil.developerToken;
        long customerId = testUtil.customerId;
        long customerAccountId = testUtil.customerAccountId;
        String applicationId = testUtil.applicationId;
        //String result = resource.submitAdGroupForApproval(userName, password, developerToken, customerId, customerAccountId, applicationId, adGroupsXML);
        //System.out.println("Result:\n" + result);
    }
}
